﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ladrame.Service;
using Ladrame.Core.Entities;

namespace Ladrame.Web
{
    public partial class ArtistCrud : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btSave_Click(object sender, EventArgs e)
        {
            ArtistService s = new ArtistService();
            Artist a = new Artist();
            a.Name = txName.Text;

            s.AddArtist(a);
        }
    }
}